﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using TestXNA3.Render;

namespace TestXNA3.Resources.Shaders
{
    public class SpriteDefaultShader : StaticMeshDefaultShader
    {
        private Effect _spriteDefaultShader = null;

        private TextureResource _texture;
        public TextureResource Texture
        {
            get { return _texture; }
            set { _texture = value; }
        }

        private Vector3 _size = Vector3.One;
        public Vector3 Size
        {
            get { return _size; }
            set { _size = value; }
        }

        public SpriteDefaultShader()
        {
            if (_spriteDefaultShader == null)
            {
                _spriteDefaultShader = GameStartup.ContentManager.Load<Effect>("Shaders/SpriteDefaultShader");
            }
            Effect = _spriteDefaultShader;
        }

        public override void Load(System.IO.BinaryReader reader)
        {
            throw new NotImplementedException();
        }

        public override void Save(System.IO.BinaryWriter writer)
        {
            throw new NotImplementedException();
        }

        public override void DuplicateProperties(ShaderResource to)
        {
            throw new NotImplementedException();
        }
    }
}
